import java.util.Scanner;

public class shuheca {
    public static void main(String[ ] args){
        Scanner scanner = new Scanner(System.in);
        System.out.println("输入两个数计算和与差");
        System.out.println("输入第一个数");
        int x = scanner.nextInt();
        System.out.println("输入第二个数");
        int y = scanner.nextInt();

        int z = x + y;
        int h = x - y;
        System.out.println("第一个输入的值为："+x+"第二个输入的值为："+y+
                   "它们的和为："+z+"它们的差为："+h);
    }
    }
